Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

Function: Extract Substring within a Tab-delimited String
Function

Function to extract a substring between tabs in a tab-delimited string.

Version
version:20190922, 1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments

This function may be useful for parsing tab-delimited text being read in from a file. To convert it to use other delimiters eg comma, simply change the ascii code (9 for a tab) to that of your target delimiter.

System Requirements
Should be compatible with all recent versions of DigitalMicrograph.
Known Issues
-
Supported
Yes
Included Files
Main script file.
Source Code

// see attached script